package cn.sumpu.app.guoguojie.domain.Ext;

import java.io.Serializable;

import cn.sumpu.app.guoguojie.util.Common;

public class FriendExt implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7332869125977704138L;

	private String identifier;
	private String member;
	private String friendName;
	private String groupId;
	private String groupName;
	private String avatar;
	private String role;
	public String getIdentifier() {
		return identifier;
	}
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}
	public String getFriendName() {
		return friendName;
	}
	public void setFriendName(String friendName) {
		this.friendName = friendName;
	}
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getAvatar() {
		if(Common.empty(avatar)){
			avatar = Common.AVATAR_FAMILY_DEFALUT;
		}
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getMember() {
		return member;
	}
	public void setMember(String member) {
		this.member = member;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	
	
	
}
